home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / msql-2.0.7-1 / makefile < prev    next >
Makefile  |  1999-01-01  |  1KB  |  42 lines

  1. ############################################################################
  2. #
  3. # Top level Makefile for mSQL.  This only sets up a target tree for the
  4. # current platform.  It doesn't do any other part of the build.
  5. #
  6. #                        bambi
  7. ############################################################################
  8.  
  9. #
  10. # Note : If the current box doesn't support sym-links with "ln -s" then
  11. #     set the ln option required below.  If it doesn't support
  12. #     sym-links at all, set the option to be nothing. This'll force
  13. #     hard links.
  14.  
  15. SYM_OPT= -s
  16.  
  17.  
  18. SHELL=/bin/sh
  19.  
  20. all:
  21.     @ echo ""; echo "You have not read the installation procedures.";\
  22.     echo "Please read the README file for build instructions.";\
  23.     echo
  24.  
  25. target:
  26.     @ scripts/make-target
  27.  
  28.  
  29.  
  30. dist:
  31.     @ echo; echo -n "Full Distribution - Enter archive file name : " ;\
  32.     read TAR_FILE ;\
  33.     DIR=`pwd | sed "s,.*/,,"` ; \
  34.     cd ..;\
  35.     rm -f /tmp/dist.files ;\
  36.     for FILE in `find ${DIR} ! -type d -print | egrep -v "/targets/|CVS"` ;\
  37.     do \
  38.         echo $$FILE >> /tmp/dist.files ;\
  39.     done ;\
  40.     tar -cvf $$TAR_FILE -I /tmp/dist.files ;\
  41.     echo; echo "Archive of full distribution complete"
  42.